import java.util.Scanner;

public class sangeheshang {
    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入第一个");
      
        int lh1 =   sc.nextInt();
        System.out.println("请输入第二个");

        int lh2  = sc.nextInt();
        System.out.println("请输入第三个");

        int lh3 = sc.nextInt();
        int tmaxheight = lh1>lh2?lh1:lh2;
        int max = tmaxheight>lh3?tmaxheight:lh3;
        System.out.println("三个数中的最大值为:"+ max);
        System.out.println("第一个和尚的身高：" + lh1);



      
    }
    
}
